<div class="widget">
    <?php echo Virgo::renderWidgetBlock($widget, '_head', array(
        'icon' => $params['head']['icon'],
        'title' => $params['head']['title'],
        'buttons' => !empty($params['head']['buttons'])? $params['head']['buttons'] : array(),
    )); ?>
    <div class="block-fluid">
        <?php echo Virgo::renderWidgetBlock($widget, '_content', array(
            'model' => $params['data'],
            'fields' => $params['fields'],
            )); ?>
    </div> 
</div> 